2000W / 48V LLC Battery-Charger  V1.00

Analog Comparator(ACMP) low level driver for XMC1 family of microcontrollers.
More...

Collaboration diagram for ACMP:

Analog Comparator(ACMP) low level driver for XMC1 family of microcontrollers.

The ACMP module consists of minimum of 3 analog comparators. Each analog comparator has two inputs, INP and INN. Input INP is compared with input INN in the pad voltage domain. It generates a digital comparator output signal. The digital comparator output signal is shifted down from VDDP power supply voltage level to VDDC core voltage level. The ACMP module provides the following functionalities.

  1. Monitor external voltage level
  2. Operates in low power mode
  3. Provides Inverted ouput option
    The ACMP low level driver funtionalities
    1. Initializes an instance of analog comparator module with the XMC_ACMP_CONFIG_t configuration structure using the API XMC_ACMP_Init().
    2. Programs the source of input(INP) specified by XMC_ACMP_INP_SOURCE_t parameter using the API XMC_ACMP_SetInput().
    3. Sets the low power mode of operation using XMC_ACMP_SetLowPowerMode() API.